package hyh.com.zxingdemo;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import com.journeyapps.barcodescanner.CaptureActivity;
import com.journeyapps.barcodescanner.DecoratedBarcodeView;

public class ScanQrCodeActivity extends CaptureActivity {

    protected DecoratedBarcodeView initializeContent() {
        setContentView(R.layout.activity_scan_qr_code);
        DecoratedBarcodeView decoratedBarcodeView = (DecoratedBarcodeView)findViewById(R.id.bv_barcode);
        decoratedBarcodeView.setStatusText("");
        return decoratedBarcodeView ;
    }
}
